package com.example.othree.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.othree.entity.MainCropsXt;
import com.example.othree.mapper.MainCropsXtMapper;
import com.example.othree.service.MainCropsXtService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zogran
 * @since 2024-12-13
 */
@Service
public class MainCropsXtServiceImpl extends ServiceImpl<MainCropsXtMapper, MainCropsXt> implements MainCropsXtService {

    @Autowired
    private MainCropsXtMapper mainCropsXtMapper;
    @Override
    public Page<MainCropsXt> pageList(Page<MainCropsXt> page, QueryWrapper<MainCropsXt> mainCropsHsQueryWrapper) {
        return mainCropsXtMapper.selectPage(page, mainCropsHsQueryWrapper);
    }
}
